package com.luzh.myspring.bean.aop;

import com.luzh.myspring.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * 自定义通知
 */
public class UserAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("user前置通知");
    }
}
